package com.smarttiger.zero.admin.dao;

import com.smarttiger.zero.admin.entity.DictionaryModel;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface DictionaryDao extends BaseDao<DictionaryModel> {


    public Page<List<DictionaryModel>>  getAllByLabelLikeAndCode(String lable, String Code, Pageable pageable);

    public DictionaryModel getAllByCode(String code);

}
